# Contributor: Dawid Dziurla <dawidd0811@gmail.com>
# Maintainer: Dawid Dziurla <dawidd0811@gmail.com>
pkgname=zsh-syntax-highlighting
pkgver=0.7.1
pkgrel=0
pkgdesc="Fish shell like syntax highlighting for Zsh"
url="https://github.com/zsh-users/zsh-syntax-highlighting"
arch="noarch"
license="BSD-3-Clause"
depends="zsh"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"

build() {
	make
}

check() {
	make test
}

package() {
	make install DESTDIR="$pkgdir" PREFIX="/usr" \
		SHARE_DIR="$pkgdir/usr/share/zsh/plugins/$pkgname"
}

sha512sums="e7e86b88cdac9b9ed5f973823ba8efff99dd720b9ed929f765f9f9266b9d6e147274f5957ceb630d51a660e396fc22e97f10cfbc5cdde941b907f3773bb1ea2b  zsh-syntax-highlighting-0.7.1.tar.gz"
